/********************************************************************
	copyright (c) by TwT
    @created:	11/21/2011 11:55
    @filename: 	Character
    @author:	Gu Yanbo (gybgdhb@gmail.com)
    @brief:	    
*********************************************************************/

#ifndef Game_Object_CHARACTER_H_
#define Game_Object_CHARACTER_H_
#include "GameObject.h"
#include "Vector4.h"
class Character:public Sprite,public ITouchable
{
public:
	enum State{
		NORMAL_LEFT,
		NORMAL_RIGHT,
		UP_SWIFT
	} m_eState;
	Character();
	~Character();
	void Render();
	void GetImageFromFile(const char*);
	void SetAnimation(int);
	bool Touch(ITouchable&);
	void SetPosition(int _x,int _y);
	 int ani_count_[10],current_ani_;
	struct{
		int x,y;
	}m_sVelocity;
protected:
	
private:

	
};

#endif //Game_Object_CHARACTER_H_


//
//History:
//[11/21/2011] <gybgdhb@gmail.com> created